﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006D7 RID: 1751
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFirstTalkByPerformanceNpcScRsp : IMessage<GetFirstTalkByPerformanceNpcScRsp>, IMessage, IEquatable<GetFirstTalkByPerformanceNpcScRsp>, IDeepCloneable<GetFirstTalkByPerformanceNpcScRsp>, IBufferMessage
	{
		// Token: 0x17001680 RID: 5760
		// (get) Token: 0x06004EDF RID: 20191 RVA: 0x000D7127 File Offset: 0x000D5327
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFirstTalkByPerformanceNpcScRsp> Parser
		{
			get
			{
				return GetFirstTalkByPerformanceNpcScRsp._parser;
			}
		}

		// Token: 0x17001681 RID: 5761
		// (get) Token: 0x06004EE0 RID: 20192 RVA: 0x000D712E File Offset: 0x000D532E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFirstTalkByPerformanceNpcScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001682 RID: 5762
		// (get) Token: 0x06004EE1 RID: 20193 RVA: 0x000D7140 File Offset: 0x000D5340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFirstTalkByPerformanceNpcScRsp.Descriptor;
			}
		}

		// Token: 0x06004EE2 RID: 20194 RVA: 0x000D7147 File Offset: 0x000D5347
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkByPerformanceNpcScRsp()
		{
		}

		// Token: 0x06004EE3 RID: 20195 RVA: 0x000D715A File Offset: 0x000D535A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkByPerformanceNpcScRsp(GetFirstTalkByPerformanceNpcScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.npcMeetStatusList_ = other.npcMeetStatusList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004EE4 RID: 20196 RVA: 0x000D7190 File Offset: 0x000D5390
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkByPerformanceNpcScRsp Clone()
		{
			return new GetFirstTalkByPerformanceNpcScRsp(this);
		}

		// Token: 0x17001683 RID: 5763
		// (get) Token: 0x06004EE5 RID: 20197 RVA: 0x000D7198 File Offset: 0x000D5398
		// (set) Token: 0x06004EE6 RID: 20198 RVA: 0x000D71A0 File Offset: 0x000D53A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001684 RID: 5764
		// (get) Token: 0x06004EE7 RID: 20199 RVA: 0x000D71A9 File Offset: 0x000D53A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<NpcMeetByPerformanceStatus> NpcMeetStatusList
		{
			get
			{
				return this.npcMeetStatusList_;
			}
		}

		// Token: 0x06004EE8 RID: 20200 RVA: 0x000D71B1 File Offset: 0x000D53B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFirstTalkByPerformanceNpcScRsp);
		}

		// Token: 0x06004EE9 RID: 20201 RVA: 0x000D71C0 File Offset: 0x000D53C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFirstTalkByPerformanceNpcScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.npcMeetStatusList_.Equals(other.npcMeetStatusList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004EEA RID: 20202 RVA: 0x000D7210 File Offset: 0x000D5410
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.npcMeetStatusList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004EEB RID: 20203 RVA: 0x000D725D File Offset: 0x000D545D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004EEC RID: 20204 RVA: 0x000D7265 File Offset: 0x000D5465
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004EED RID: 20205 RVA: 0x000D7270 File Offset: 0x000D5470
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.npcMeetStatusList_.WriteTo(ref output, GetFirstTalkByPerformanceNpcScRsp._repeated_npcMeetStatusList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004EEE RID: 20206 RVA: 0x000D72C0 File Offset: 0x000D54C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.npcMeetStatusList_.CalculateSize(GetFirstTalkByPerformanceNpcScRsp._repeated_npcMeetStatusList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004EEF RID: 20207 RVA: 0x000D7314 File Offset: 0x000D5514
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFirstTalkByPerformanceNpcScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.npcMeetStatusList_.Add(other.npcMeetStatusList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004EF0 RID: 20208 RVA: 0x000D7361 File Offset: 0x000D5561
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004EF1 RID: 20209 RVA: 0x000D736C File Offset: 0x000D556C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.npcMeetStatusList_.AddEntriesFrom(ref input, GetFirstTalkByPerformanceNpcScRsp._repeated_npcMeetStatusList_codec);
				}
			}
		}

		// Token: 0x04001F0B RID: 7947
		private static readonly MessageParser<GetFirstTalkByPerformanceNpcScRsp> _parser = new MessageParser<GetFirstTalkByPerformanceNpcScRsp>(() => new GetFirstTalkByPerformanceNpcScRsp());

		// Token: 0x04001F0C RID: 7948
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F0D RID: 7949
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04001F0E RID: 7950
		private uint retcode_;

		// Token: 0x04001F0F RID: 7951
		public const int NpcMeetStatusListFieldNumber = 8;

		// Token: 0x04001F10 RID: 7952
		private static readonly FieldCodec<NpcMeetByPerformanceStatus> _repeated_npcMeetStatusList_codec = FieldCodec.ForMessage<NpcMeetByPerformanceStatus>(66U, NpcMeetByPerformanceStatus.Parser);

		// Token: 0x04001F11 RID: 7953
		private readonly RepeatedField<NpcMeetByPerformanceStatus> npcMeetStatusList_ = new RepeatedField<NpcMeetByPerformanceStatus>();
	}
}
